package com.newlink.building.main.ui

import android.view.View
import com.newlink.building.common_base.base.NL_BaseActivity
import com.newlink.building.main.R
import com.newlink.building.main.databinding.ActivityMoveDetectingBinding

/**
 * Created by xiaodong on 2022/10/6.
 */
class Module_Main_MoveDetectingActivityNL : NL_BaseActivity(), View.OnClickListener {
    //    override fun attachLayoutRes(): Int = R.layout.activity_move_detecting
    private lateinit var mBinding: ActivityMoveDetectingBinding
    override fun attachLayoutRes(): View {
        mBinding = ActivityMoveDetectingBinding.inflate(layoutInflater)
        return mBinding.root
    }


    override fun initData() {
    }

    override fun initView() {
        mBinding.titlebarMoveDetection.titleCenterTitlebar.text =
            resources.getString(R.string.move_detecting_title)
        mBinding.titlebarMoveDetection.backTitlebar.setOnClickListener(this)
    }

    override fun onClick(v: View) {
        when (v.id) {
            R.id.back_titlebar -> finish()
        }
    }
}